export default function showMessage(
  title = '请求数据失败',
  duration = 1500,
  icon = 'none'
) {
  uni.showToast({
    title,
    duration,
    icon,
  })
}

// showMessage('哈哈', 2000)

// showMessage('成功')
// showMessage('失败')
